TARGETS = test.exe t_math.exe
all : $(TARGETS)

test.exe:pthread-test.cc
	g++ -o $@ $^ -lpthread

t_math.exe:math.cc
	g++ -o $@ $^

.PHONY:clean
clean:
	rm $(TARGETS) -fv